package jk.spider.api.event.engine;

import jk.spider.api.event.EventVisitor;
import jk.spider.api.event.SpiderEvent;
import jk.spider.model.Resource;

public abstract class EngineRelatedEvent implements SpiderEvent {

	public int getType() {
		return SpiderEvent.EVENT_TYPE_ENGINE;
	}

	public void accept(EventVisitor visitor) {
		visitor.visit(this);
	}

	public String toString() {
        return super.toString() + " " + getComment();
    }
	
	public Resource getResource() {
		return null;
	}
}
